home *** CD-ROM | disk | FTP | other *** search
/ Agent Central Host Computer / Agent - Central Host Computer.iso / _SETUP.1 / fixedbuttons.sql < prev    next >
Text File  |  2000-05-12  |  1KB  |  35 lines

  1. /* RCSVER $Id: fixedbuttons.sql,v 1.2 1999-02-24 12:52:51-06 randy CURRENT $ */
  2. /* *************************************************************************
  3. *        Copyright (C) 1998, Agent Systems, Inc. All Rights Reserved.
  4. *
  5. * Name:        fixedbuttons.sql
  6. * Date:        12/28/1998
  7. * memo:        Randy Wood
  8. * Description:    Create the fixedbuttons table. This table contains the button
  9. *        definitions for the fixed buttons on the OCU. The fixed
  10. *        buttons include the number pad and the FUNC and ENTER
  11. *        buttons.
  12. * Changes:
  13. ************************************************************************* */
  14. CREATE TABLE fixedbuttons
  15. (
  16.     value        VARCHAR2(1),    /* Unique value (key) for this button */
  17.     label        VARCHAR2(30),    /* Label on the face of button */
  18.     locx        NUMBER(38),    /* X location */
  19.     locy        NUMBER(38),    /* Y location */
  20.     width        NUMBER(38),    /* width of button (pixels) */
  21.     height        NUMBER(38),    /* Height of button (pixels) */
  22.                     /* Background color of button */
  23.                     /*  R/G/B components */
  24.     bgcolor_r    NUMBER(3) CHECK (bgcolor_r BETWEEN 0 AND 255),
  25.     bgcolor_g    NUMBER(3) CHECK (bgcolor_g BETWEEN 0 AND 255),
  26.     bgcolor_b    NUMBER(3) CHECK (bgcolor_b BETWEEN 0 AND 255),
  27.     fontsize    NUMBER(38),    /* Size of font */
  28.                     /* Is this button a modifier? */
  29.                     /*   If 1, then this button can */
  30.                     /*   be used in combination with  */
  31.                     /*   another key. */
  32.     ismodifier    NUMBER(1) CHECK (ismodifier BETWEEN 0 AND 1),
  33.     CONSTRAINT pk_fixedbuttons PRIMARY KEY (value)
  34. );
  35.